package com.flca.frw.events
{
	import flash.events.Event;
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;

	public class EventBroker extends EventDispatcher
	{
		private static var _instance : EventBroker;
		
		public function EventBroker(target:IEventDispatcher=null)
		{
			super(target);
		}
		
		public static function get instance() : EventBroker
		{
			if (_instance == null) {
				_instance = new EventBroker();
			}
			return _instance;
		}
		
		public function sendEvent(event:Event) : void 
		{
			dispatchEvent(event);
		}
	}

}